// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_b.p_a;

import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import com.nnee.p_a.p_a.cls_e;
import com.nnee.p_a.p_a.cls_g;
import com.nnee.p_fk.p_b.cls_a;
import com.nnee.p_fk.p_b.cls_b;
import com.nnee.p_pr.p_a.cls_r;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.Iterator;
import java.util.Vector;

// Referenced classes of package com.nnee.b.a:
//            g, b

class cls_p extends cls_b
{

    public cls_p(com.nnee.p_b.p_a.cls_g g1, cls_a a1, Object obj, int k, int l)
    {
    	super(a1, obj, k, l);
        j = g1;
        
        if(a1 instanceof  com.nnee.p_b.p_a.cls_g)
        {
            h = ((com.nnee.p_b.p_a.cls_g)a1).l;
            i = ((com.nnee.p_b.p_a.cls_g)a1).k;
        }
    }

    public cls_p(com.nnee.p_b.p_a.cls_g g1, Vector vector, Object obj, int k, int l)
    {
    	super(vector, obj, k, l);
        j = g1;
        
        Iterator iterator = vector.iterator();
        do
        {
            if(!iterator.hasNext())
                break;
            cls_a a1 = (cls_a)iterator.next();
            if(a1 != null && (a1 instanceof  com.nnee.p_b.p_a.cls_g))
            {
                com.nnee.p_b.p_a.cls_g g2 = (com.nnee.p_b.p_a.cls_g)a1;
                boolean flag;
                boolean flag1;
                if(h)
                    flag = h;
                else
                    flag = g2.l;
                h = flag;
                if(i)
                    flag1 = i;
                else
                    flag1 = g2.k;
                i = flag1;
            }
        } while(true);
    }

    public void f()
    {
        if(b() && j.n() != 1001) {
        	com.nnee.p_b.p_a.cls_b b1;
            String s1;
            b1 = new com.nnee.p_b.p_a.cls_b();
            b1.a = j.e;
            b1.d = j.o;
            String s = cls_r.a(j.e);
            s1 = cls_e.a(s, false);
            if(s1 == null)
            {
                a(1, 0);
                return; /* Loop/switch isn't completed */
            }
            if(!j.j)
            {
                cls_g g1 = cls_e.d(s);
                if(g1 != null && !s1.equals(g1.e()))
                {
                	cls_e.a(new File(s1));
                    s1 = g1.e();
                }
            }
            b1.b = s1;
            if(!h)
                return;
            if(!j.j || !i)
            	return;
            FileInputStream fileinputstream=null;
			try {
				fileinputstream = new FileInputStream(new File(s1));
			} catch (FileNotFoundException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
            FileInputStream fileinputstream1 = fileinputstream;
        	
            
            while(true)
            {
            	 if(fileinputstream1 != null)
                     break; /* Loop/switch isn't completed */
                 a(1, 0);
                 fileinputstream1 = null;
                 continue; /* Loop/switch isn't completed */
                  
            }
        }

    }

    boolean h;
    boolean i;
    final com.nnee.p_b.p_a.cls_g j;
}
